import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/index'
import shopping from '@/views/shopping'
import personal_center from '@/views/personal_center'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/shopping',
      name: 'shopping',
      component: shopping
    },
    {
      path: '/personal_center',
      name: 'personal_center',
      component: personal_center
    }
    
  ]
})
